package com.crm.model.vo.permissionManagement;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.crm.model.entity.sys.permissionManagement.SysPermissionGroup;
import lombok.Data;

import java.util.Date;


/**
 * @Author wll
 * @Date 2020/12/7
 */
@Data
public class SysPermissionGroupVO {
    private String permissionGroupId;

    private String permissionGroupName;

    private String remark;

    private Short deleteStatus;

    @JsonFormat(shape= JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTm;

    @JsonFormat(shape= JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTm;

    private String createPeopleId;

    private String updatePeopleId;

    private String sysId;

    private String isAdmin;

    public SysPermissionGroupVO(SysPermissionGroup sysPermissionGroup) {
        this.permissionGroupId = sysPermissionGroup.getPermissionGroupId();
        this.permissionGroupName = sysPermissionGroup.getPermissionGroupName();
        this.remark = sysPermissionGroup.getRemark();
        this.deleteStatus = sysPermissionGroup.getDeleteStatus();
        this.createTm = sysPermissionGroup.getCreateTm();
        this.updateTm = sysPermissionGroup.getUpdateTm();
        this.createPeopleId = sysPermissionGroup.getCreatePeopleId();
        this.updatePeopleId = sysPermissionGroup.getUpdatePeopleId();
        this.sysId = sysPermissionGroup.getSysId();
    }


}
